<template lang="">
    <view class="home">
        <view class="title">
        	<view class="titleName">
        		{{titleName}}
        	</view>
        	<view class="right-content">
        		<slot></slot>
        	</view>
        </view>
    </view>
</template>
<script>
export default {
    data() {
    	return {
    		
    	};
    },
    props:{
    	titleName : String,
    },
}
</script>
<style lang="scss" scoped>
    .home{
		.title {
				background-color: #fff;
				display: flex;
				justify-content: space-between;
				align-items: center;
				padding: 20rpx 0;
				width: 100%;
				color: #111111;
				position: relative;
			.titleName {
				font-weight: 600;
				font-size: 30rpx;
				margin-left: 20rpx;
			}
			.titleName::before{
				content: '';
				position: absolute;
				left: 0%;
				top: 35%;
				width: 4rpx;
				height: 28rpx;
				background: #2772FE;
			}
		}
				
	}
</style>